package com.legal.app.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.legal.common.annotation.Excel;
import com.legal.common.core.domain.BaseEntity;

/**
 * 服务类型对象 z_service_type
 * 
 * @author Ale
 * @date 2025-05-30
 */
@TableName("z_service_type")
public class ServiceType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务类型ID */
    private Long id;

    /** 服务类型名称 */
    @Excel(name = "服务类型名称")
    private String name;

    /** 服务描述 */
    @Excel(name = "服务描述")
    private String description;

    /** 图标路径 */
    @Excel(name = "图标路径")
    private String icon;

    /** 排序权重 */
    @Excel(name = "排序权重")
    private Long sortOrder;

    /** 状态(0=禁用,1=启用) */
    @Excel(name = "状态(0=禁用,1=启用)")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }

    public void setSortOrder(Long sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder() 
    {
        return sortOrder;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("icon", getIcon())
            .append("sortOrder", getSortOrder())
            .append("status", getStatus())
            .toString();
    }
}
